package com.pcbly.web.components.taglib.tag;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.components.Component;

import com.opensymphony.xwork2.util.ValueStack;
import com.pcbly.web.components.taglib.TextArea;

public class TextAreaTag  extends BaseTag{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4664656461180554364L;


	protected String readonly;
	
	protected String cols;
	
	protected String rows;
	
	public String getReadonly() {
		return readonly;
	}

	public void setReadonly(String readonly) {
		this.readonly = readonly;
	}

	public String getCols() {
		return cols;
	}

	public void setCols(String cols) {
		this.cols = cols;
	}

	public String getRows() {
		return rows;
	}

	public void setRows(String rows) {
		this.rows = rows;
	}
	@Override
	public Component getBean(ValueStack stack, HttpServletRequest request,
			HttpServletResponse response) {
		// TODO Auto-generated method stub
		return new TextArea(stack);
	}

}
